package pl.ivmx.cinema.entities;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;

@Entity
@NamedQuery(
        name="logactor.getLogactors",
        query="SELECT l FROM Logactor l"
)
public class Logactor implements Serializable {
	@Id
	private long id;

	@Column(name="ACTOR_ID")
	private BigDecimal actorId;

	private String operation;

	private static final long serialVersionUID = 1L;

	public Logactor() {
		super();
	}

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public BigDecimal getActorId() {
		return this.actorId;
	}

	public void setActorId(BigDecimal actorId) {
		this.actorId = actorId;
	}

	public String getOperation() {
		return this.operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

}
